package com.ycl.bookstore.service;

import com.ycl.bookstore.common.Result;
import com.ycl.bookstore.pojo.Balance;
import com.baomidou.mybatisplus.extension.service.IService;

import java.math.BigDecimal;

/**
 *
 */
public interface BalanceService extends IService<Balance> {

    /**
     * 获取用户的余额
     * @return
     */
    Result getUserBalance();

    /**
     * 充值金额
     * @return
     */
    Result rechargeMoney(BigDecimal money);

}
